.app{
    visibility: hidden;
}
header>div>nav>a:nth-child(2){
    background-color: red;
    color: white;
}
/* 导航栏 */
.topnav{
    width: 100%;
    height: 60px;
    background-color: #47464a;
}
.topnav>div{
    width: 360px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}
.topnav>div>a{
    width: 80px;
    display: block;
    line-height: 60px;
    text-align: center;
    color: #999999; 
    font-size: 18px;
    position: relative;
}
.topnav>div>a>div{
    /* height: 10px;
    width: 10px; */
    /* background-color: #fff; */
    position: absolute;
    bottom: 0;
    left: 30px;
    border-top: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    border-left: 10px solid transparent;
    display: none;
}
.topnav>div>a:hover{
    color: white;
}
.topnav>div>a:hover>div{
    display: block;
}

/* 类型 区域 年代  */
.choice{
    height: 200px;
    width: 1120px;
    border: 1px solid gray;
    margin: 40px auto;
}
.choice>div{
    width: 1080px;
    height: 70px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    margin-top: 5px;
}
.choice>div:last-child{
    margin-top: 10px;
    height: 60px;
    border: 0;
}
.choice>div>span{
    width: 50px;
    height: 100%;
}
.choice>div>div{
    height: 100%;
    width: 1020px;
    display: flex;
    flex-wrap: wrap;
}
.choice>div>div>a{
    height: 25px;
    text-align: center;
    line-height: 25px;
    margin: 2px 5px;
    padding-left: 10px;
    padding-right: 10px;
    display: block;  
    border-radius: 20px;
    font-size: 14px;
    color: black;
}
.choice>div>div>a:first-child{
    background-color: #f34d41;
    color: white;
}
.choice>div>div>a:hover{
    color: rgb(255, 131, 131);
}
.choice>div{
    border-bottom: 1px solid gray;
}
/* 中间内容 */
main{
    width: 1120px;
    /* height: 3000px; */
    margin: 40px auto;
}
/* 排序 */
.sort{
    height: 25px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.sort>form:nth-child(1){
    height: 100%;
    width: 360px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sort>form:nth-child(2){
    height: 100%;
    width: 100px;
    text-align: center;
}
/* 电影列表 */
.movieslist{
    width: 100%;
    /* height: 1560px; */
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* background-color: aquamarine; */
}
.film{
    height: 290px;
    width: 160px;
    margin: 20px 10px;
}
.film>a{
    display: block;
    height: 220px;
    width: 100%;
    background-size: 160px 220px; 
    position: relative;
}
.film>span{
    height: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.film>span>a{
    height: 18px;
    font-size: 17px;
}
.film p{
    color: gold;
    width: 100%;
    height: 10px;
    text-align: center;
    font-style: italic;
}
.film>a>div:nth-child(1){
    background-color: #0084ff;
    color: white;
    height: 20px;
    font-weight: bold;
    padding: 3px 7px;
    text-align: center;
    position: absolute;
    top: 5px;
    left: -5px;
}
.film>a>div:nth-child(2){
    height: 280px;
    width: 180px;
    position: absolute;
    top: -30px;
    left: -10px;
    background-size: 180px 280px;
    display: flex;
    align-items: flex-end;
    display: none;
}
.film>a>div:nth-child(2)>div{
    height: 140px;
    width: 180px;
    background-color: white;
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.film>a>div:nth-child(2)>div>h1{
    font-size: 18px;
    display: flex;
    width: 240px;
    justify-content: space-between;
    margin-left: 10px;
}
.film>a>div:nth-child(2)>div>h1>p{
    height: 100%;
    width: 50px;
}
.film>a>div:nth-child(2)>div>span{
    display: block;
    width: 240px;
    margin: 0 auto;
    font-size: 14px;
    color: gray;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 10px;
}
.film>a:hover>div:nth-child(2){
    display: block;
    box-shadow: 0 5px 5px 0 rgb(95, 95, 95);
}
/* 插图片 */
.movieslist>div>a{
    background-image: url("../img/xiaohonghua.jpg");
}
.movieslist>div>a>div:nth-child(2){
    background-image: url("../img/xiaohonghua.jpg");
}

/* 翻页 */
.page{
    height: 35px;
    width: 435px;
    margin: 35px auto 100px;
    display: flex;
    justify-content: space-between;
}
.page>a{
    display: block;
    height: 35px;
    border: 1px solid gray;
    line-height: 35px;
    padding: 0 10px;
}
.page>a:hover{
    color: white;
    background-color: red;
    border-color: red;
}